package ch8;

public class Exercise8_5 {
    public static void main(String[] args) {
        String s = "ab123you";
        String regex = "\\D+";
        s = s.replaceAll(regex,"");
        System.out.println(s);
    }
}
